/**
 * @description 首页
 * @author xfj
 */

import { Link } from 'react-router-dom'
import AuthRoute from '../router/authRoute';

function Home() {
  return (
    <>
      <nav
        style={{
          borderBottom: "solid 1px",
          paddingBottom: "1rem",
        }}
      >
        <Link to="/invoices">Invoices</Link> |{" "}
        <Link to="/expenses">Expenses</Link>
      </nav>
      <div style={{width: "80%", margin: "0 auto"}}>
        <AuthRoute />
      </div>
    </>
  )
}

export default Home;
